package jdk8.source.learn.concurrent;

import java.util.Collections;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class ConcurrentMapLearn {

    public static void main(String[] args) {
        ConcurrentHashMap<Integer,String> concurrentHashMap = new ConcurrentHashMap<>();

        Hashtable<Integer,String> hashtable = new Hashtable<>();
        Map<Integer, String> map = Collections.synchronizedMap(new HashMap<>());


    }


    }








